
public class Car {

	
	String make;
	String type;
	String color;
	int currentSpeed;
	int maximumSpeed;
	boolean hasStarted;
	
	void start()
	{
		System.out.println("I am starting the car");
		hasStarted = true;
		currentSpeed = 0;
	}
	
	int accelerate(int byhowmuch)
	{
		currentSpeed = currentSpeed + byhowmuch;
		return currentSpeed;
	}
	
	
	boolean checkodyssey()
	{
		if(type=="minivan" && make=="honda")
		{
			System.out.println("This car is honda odyssey");
			return true;
		}
		else 
		{
			System.out.println("This is not honda odyssey");
			return false;
		}
	}
	void stop()
	{
		System.out.println("I stopped the car");
		hasStarted = false;
		currentSpeed = 0;
	}
	
	
}
		
